#include "CommandNotFoundException.h"

int CommandNotFoundException::ex_count = 0;

CommandNotFoundException::CommandNotFoundException(string s) : message(s){
    ex_count++;
}

CommandNotFoundException::CommandNotFoundException(const CommandNotFoundException& ex) 
        : message(ex.message){
    
}

void CommandNotFoundException::DisplayMessage() const {
    cout<<message<<endl;
}

int CommandNotFoundException::NumException(){
    return ex_count;
}

